package com.itheima.mapper;

import com.itheima.entity.pojo.Dish;
import com.itheima.entity.pojo.Flavor;
import com.itheima.entity.vo.dish.DishListVo;
import com.itheima.entity.vo.setmeal.SetmealDishLVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author huangzelnag
 * @create 2022-05-10
 */
@Mapper
public interface FlavorMapper {

    Integer insert(Flavor flavor);

    Flavor selectByDishId(String dishId);

    List<SetmealDishLVo> selectByDishIdList(String dishId);

    void deleteByDishId(String id);


    List<Flavor> selectByDishIdLa(String id);
}
